package io.renren.modules.sp.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import io.renren.common.dao.BaseDao;
import io.renren.modules.sp.dto.SpTeamAttachDTO;
import io.renren.modules.sp.entity.SpTeamAttachEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;
import java.util.Map;

/**
* 代表队附件表（承诺书）
*
* @author whc
* @since 3.0 2025-02-16
*/
@Mapper
public interface SpTeamAttachDao extends BaseDao<SpTeamAttachEntity> {
    IPage<SpTeamAttachEntity> selectPageVo(Page page, @Param(Constants.WRAPPER) QueryWrapper<SpTeamAttachDTO> queryWrapper);
    List<Map<String,Object>> hasUpPromissFile(@Param("teamId") Long teamId);
    List<Map<String,Object>> hasUpSignFile(@Param("teamId") Long teamId);

}
